/*
*  LLFileUtils.cpp
*  
*
*  Created by Alexander Trutchenko on 11/02/12.
*  Copyright 2012 Free Team. All rights reserved.
*
*/

#include "lid_lib/src/file_managment/LLFileUtils.h"

#include "lid_lib/src/service/LLAssert.h"

#include <string>

using namespace std;

namespace lidlib {

// record the resource path
static string s_strResourcePath = "";

/////////////////////////////////////////////////////
//
/** LLFileUtils 
* 
*/
/////////////////////////////////////////////////////

void LLFileUtils::setResourcePath(const char *pszResourcePath)
{
//    CCAssert(pszResourcePath != NULL, "[FileUtils setResourcePath] -- wrong resource path");
//    CCAssert(strlen(pszResourcePath) <= MAX_PATH, "[FileUtils setResourcePath] -- resource path too long");
	s_strResourcePath = pszResourcePath;
}

const std::string& LLFileUtils::getResourcePath()
{
	return s_strResourcePath;
}









} // namespace lidlib
